#ifndef TOUCHBUTTON_H
#define TOUCHBUTTON_H

#include <QObject>
#include <QPushButton>

class TouchButton : public QPushButton
{
    Q_OBJECT
public:
    TouchButton(QWidget *parent = nullptr);
    explicit TouchButton(const QString &text, QWidget *parent = nullptr);
    TouchButton(const QIcon& icon, const QString &text, QWidget *parent = nullptr);

    // QObject interface
public:
    bool event(QEvent *event);
};

#endif // TOUCHBUTTON_H
